package com.example.nbastar;

import java.io.Serializable;
import java.util.List;

public class Bean {


    /**
     * msg : 成功
     * success : true
     * list : [{"id":1,"name":"la","desription":"介绍","img":"1.jpg"},{"id":2,"name":"haha","desription":"介绍","img":"2.jpg"},{"id":3,"name":"lalala","desription":"介绍","img":"3.jpg"},{"id":4,"name":"lulu","desription":"介绍","img":"4.jpg"}]
     */

    private String msg;
    private boolean success;
    private List<Ball> list;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public List<Ball> getList() {
        return list;
    }

    public void setList(List<Ball> list) {
        this.list = list;
    }

    public static class Ball implements Serializable {
        /**
         * id : 1
         * name : la
         * desription : 介绍
         * img : 1.jpg
         */

        private int id;
        private String name;
        private String desription;
        private String img;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getDesription() {
            return desription;
        }

        public void setDesription(String desription) {
            this.desription = desription;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }
    }
}
